﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace SetpBySetp.Web
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Blog" in code, svc and config file together.
    public class Blog : IBlog
    {

        public Post[] GetPosts()
        {
            List<Post> posts = new List<Post>()
                                   {
                                       new Post(1, "Learn Silverlight setp by setp One", "JackieHan"),
                                       new Post(2, "Learn Silverlight setp by setp Two", "JackieHan"),
                                       new Post(3, "Learn Silverlight setp by setp Three", "JackieHan"),
                                       new Post(4, "Learn Silverlight setp by setp Four", "JackieHan"),
                                   };
            return posts.ToArray();
        }
    }
}
